package com.mf.mysql.connectors.service;

import java.sql.Connection;
import java.sql.ResultSet;
import java.util.List;

/**
 * @PACKAGE_NAME: com.mf.mysql.connectors.service.batisutils
 * @NAME: BaseSuper
 * @USER: 马飞飞
 * @DATE: 2021/8/5   21:41
 * @TIME: 21:41
 * @YEAR: 2021
 * @MONTH: 08
 */
public interface BaseSuper {
    public Connection getConnection();

    public void close();

    void printSql();

    ResultSet exeQuery(String sql, Object... obj);

    Integer exeUpdate(String sql, Object... obj);

    @Deprecated
    public <c> List<c> getList(Class<c> c);
}
